import request from '@/utils/request'

// 搜索专业列表
export function searching (queryParams) {
  return request({
    url: '/studentGrades/select',
    method: 'post',
    data: queryParams
  })
}

// 添加专业
export function addPost (data) {
  return request({
    url: '/studentGrades/addPost',
    method: 'post',
    data: data
  })
}

// 修改岗位  Modifying forms
export function updatePost (data) {
  return request({
    url: '/studentGrades/update',
    method: 'post',
    data: data
  })
}

// 删除岗位
export function delPost (data) {
  return request({
    url: '/studentGrades/delete',
    method: 'post'
  })
}
